using System;
using System.Collections.Generic;

namespace Diploma.Models.IRepositories
{
    public interface IUsersRepository
    {
        User GetUserByEmail(string email, bool includeDeleted);
        User GetUserById(Guid userId);
        bool ValidateUser(string userEmail, string password);
        User GeneratePassword(Guid id);
        string GenerateHash(string userEmail);
        bool ValidateUserHash(string userEmail, string hash);
        void UpdatePassword(Guid guid, string password);
        IEnumerable<User> GetUsers();
    }
}